@import "../const.scss";

.device {
  min-width: 670px;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
}

.device-title {
  flex-shrink: 0;
  border-bottom: 1px solid $app-clr-3;
  padding: 1rem;
}

.device-title-active {
  background-color: $app-clr-1;
}

.device-commands {
  flex-shrink: 0;
  border-bottom: 1px solid $app-clr-3;
  box-shadow: 0px 2px 3px 0px $app-shadow;
}

.device-fields {
  flex-grow: 1;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
}

.device-capabilities,
.device-plan,
.device-edge {
  margin: $md-gutter 0 0 $md-gutter;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.device-capabilities-empty {
  padding-right: $sm-gutter;
}
